<template>
  <div>
    <mt-button type="default">default</mt-button>
    <mt-button type="primary" @click.native="handleClick">primary</mt-button>
  </div>
</template>

<script>
  import {Toast} from 'mint-ui';

  export default {
    name: 'App',
    methods: {
      handleClick() {
        Toast({
          message: '提示',
          position: 'bottom',
          duration: 5000
        });
      }
    }
  }
</script>

<style scoped>

</style>
